package com.spring.security.entity.mine;

import java.util.Date;

/**
 * 关注表实体
 */
public class AttentionDataDTO {
    //主键
    private Integer id;
    //用户编号
    private Integer userId;
    //关注目标编号
    private Integer attentionUserId;
    //备注
    private String remark;
    //多租户
    private Integer tenantId;
    //删除标识，0正常，1删除
    private Integer delFlag;
    //创建时间
    private Date createdDate;
    //创建人
    private Integer createdBy;
    //最后更新时间
    private Date updateDate;
    //最后更新人
    private Integer updateBy;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAttentionUserId() {
        return attentionUserId;
    }

    public void setAttentionUserId(Integer attentionUserId) {
        this.attentionUserId = attentionUserId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getTenantId() {
        return tenantId;
    }

    public void setTenantId(Integer tenantId) {
        this.tenantId = tenantId;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    @Override
    public String toString() {
        return "AttentionDataDTO{" +
                "id=" + id +
                ", userId=" + userId +
                ", attentionUserId=" + attentionUserId +
                ", remark='" + remark + '\'' +
                ", tenantId=" + tenantId +
                ", delFlag=" + delFlag +
                ", createdDate=" + createdDate +
                ", createdBy=" + createdBy +
                ", updateDate=" + updateDate +
                ", updateBy=" + updateBy +
                '}';
    }
}
